package com.htdc.web.bean;


import java.io.Serializable;

public class Room implements Serializable {
    private String cname;
    private long rid;
    private String rname;
    private double roomArea;//可出租面积
    private double roomRealArea;//已出租面积
    private long pid;
    private String pname;
    private String state;
    private String rentTime;
    private int cid;

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    private String rentEnd;

    public String getRentTime() {
        return rentTime;
    }

    public void setRentTime(String rentTime) {
        this.rentTime = rentTime;
    }

    public String getRentEnd() {
        return rentEnd;
    }

    public void setRentEnd(String rentEnd) {
        this.rentEnd = rentEnd;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public long getRid() {
        return rid;
    }

    public void setRid(long rid) {
        this.rid = rid;
    }


    public String getRname() {
        return rname;
    }

    public void setRname(String rname) {
        this.rname = rname;
    }


    public double getRoomArea() {
        return roomArea;
    }

    public void setRoomArea(double roomArea) {
        this.roomArea = roomArea;
    }


    public double getRoomRealArea() {
        return roomRealArea;
    }

    public void setRoomRealArea(double roomRealArea) {
        this.roomRealArea = roomRealArea;
    }


    public long getPid() {
        return pid;
    }

    public void setPid(long pid) {
        this.pid = pid;
    }

    @Override
    public String toString() {
        return "Room{" +
                "cname='" + cname + '\'' +
                ", rid=" + rid +
                ", rname='" + rname + '\'' +
                ", roomArea=" + roomArea +
                ", roomRealArea=" + roomRealArea +
                ", pid=" + pid +
                ", state='" + state + '\'' +
                ", rentTime='" + rentTime + '\'' +
                ", rentEnd='" + rentEnd + '\'' +
                '}';
    }
}
